import { HTTP } from 'utils/http';
import config from 'utils/config';

class SearchModel extends HTTP {
    searchAction(keyword, cityId) {
        return new Promise((resolve, reject) => {
            this.axiosPost({
                url: config.API.SERCH_ACTION,
                data： {
                    keyword,
                    cityId
                }
            })
        })
    }
}

export { SearchModel };